package sync.hw.demo01;

/**
 * @author lwj
 * @date 2025-03-12
 * @vesion 1.0.0
 */
public class UserInfo {
    /**
     * 姓名
     */
    private String name;
    /**
     * 储蓄卡名称
     */
    private String bankName;
    /**
     * 取钱的数量
     */
    private Double money;

    // 构造方法
    public UserInfo() {}
    public UserInfo(String name, String bankName, Double money) {
        this.name = name;
        this.bankName = bankName;
        this.money = money;
    }

    // 属性
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }
}
